package com.lilinling.yinzhi.demand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lilinling.common.utils.PageUtils;
import com.lilinling.yinzhi.demand.entity.DemandEntity;
import com.lilinling.yinzhi.demand.vo.AddDemandVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lichenglin
 * @email lilinling15@gmail.com
 * @date 2021-03-05 17:15:03
 */
public interface DemandService extends IService<DemandEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addDemand(Long userId, AddDemandVo addDemandVo);

    AddDemandVo getAddDemandVoByDemandId(Long demandId);

    List<DemandEntity> getUserDemand(Long userId);
}

